Skip to content

Update models and add custom taxonomy support#12

Open
remi8910 wants to merge 1 commit intoWP-Autoplugin:mainfrom
remi8910:main
Open

Update models and add custom taxonomy support#12
remi8910 wants to merge 1 commit intoWP-Autoplugin:mainfrom
remi8910:main

Conversation

@remi8910
Copy link
Copy Markdown

This PR updates the available AI models and adds support for custom taxonomies in the bulk tagging feature.

Changes

Model Updates

  • Removed deprecated models: GPT-3.5, GPT-4-turbo, o1-preview, Claude 3 Opus, Claude 3 Sonnet, Claude 3 Haiku
  • Added new models:
    • Claude Opus 4.6
    • Claude Sonnet 4.5
    • GPT Image 2
    • FLUX 1.1 Pro Ultra

Custom Taxonomy Support

  • Added setting to allow bulk tagging on any public taxonomy
  • Default behavior now includes all public taxonomies, not just categories and tags
  • Maintains backward compatibility with existing setups

Files Modified

    • Updated model list
    • Added taxonomy configuration
    • Updated to support custom taxonomies
    • Added taxonomy settings UI

Testing

  • Verify new models appear in dropdowns
  • Test bulk tagging with custom taxonomies
  • Ensure backward compatibility

**Model Updates:**
- Pruned deprecated text models (gpt-3.5-turbo, gpt-4-turbo, o1-preview, older Claude 3.x dated versions, grok-2-1212)
- Added newer models: GPT Image 2, Claude Opus 4.6, Claude Sonnet 4.5
- Updated image models: Added GPT Image 2, FLUX 1.1 Pro Ultra, reorganized edit models

**Custom Taxonomy Support:**
- Added 'enabled_taxonomies' setting to select which taxonomies support AI features
- Updated bulk actions to work with any enabled taxonomy (not just Categories/Tags)
- Updated suggestion form to register for all enabled taxonomies
- Updated REST endpoint and AJAX handlers for custom taxonomy support
- Added taxonomy selection UI in settings page
- Dynamic taxonomy labels in bulk process notices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant